<div id="sidebar">
	<span class="panel_title">小组</span>
	<?php
		$groups = Group::get_groups();
		foreach ($groups as $g):
	?>
	<div class="group <?php $group['id']==$g['id']?e('active'):e('') ?>">
		<img src="<?php group_icon_url($g['id']) ?>" align="absmiddle" />
		<a href="<?php group_topics_url($g['id']) ?>"><?php e($g['name']) ?></a>
	</div>
	<?php endforeach ?>
</div>